﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ConnectionControl;

namespace pokerServer.ProtHandlers.Factories
{
	class TableRequestsProtHandler : IProtHandle
	{
		ConnectionManag cm;
		public TableRequestsProtHandler(ConnectionManag cm)
		{
			this.cm = cm;
		}

		public string work()
		{
			//return "TABLELIST-WORK";
			return cm.tablem.getTableList();
		}
	}
}
